<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="js/vue.js"></script>
</head>
<body>

<div id="app">
  <!--需求: 遍历lilei对象，在页面显示李磊对象的详细信息-->
  <ul>
    <li v-for="(value,key) of lilei" :key="key">
      {{key}} : {{value}}
    </li>
  </ul>
</div>

<script>
  let vm=new Vue({
    el:"#app",
    data:{
      lilei:{
        name:"Li Lei",
        age:11
      }
    }
  })
</script>



<div id="app">
  <ul>
    <li v-for="i of pageCount" :key="i">{{i}}</li>
  </ul>
</div>

<script>
  new Vue({
    el:"#app",
    data:{
      pageCount:5 //共5页
    }
  })
</script>

</body>
</html>
